<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.boco.raptor.subsystem.netadjust.action.NetAdjustWFListAction"%>
<%
  NetAdjustWFListAction.checkUser(request, response);
%>
<script type="text/javascript">
   var WEB_ROOT = "<%=request.getContextPath()%>";
</script>
<script type="text/javascript" src="<%=request.getContextPath()%>/raptor/raptor-basic.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/raptor/common/misc-inc.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/raptor/common/ext-inc.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/raptor/drm/drm-basic.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/raptor/drm/share/share-inc.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/raptor/drm/widget/widget-inc.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/raptor/drm/dwr-inc.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/raptor/subsystem/netadjust/dwr-inc.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/raptor/subsystem/netadjust/app/app-inc.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/raptor/subsystem/netadjust/share/share-inc.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/raptor/subsystem/netadjust/form/form-inc.js"></script>



<script type="text/javascript">
    dwr.engine.setAsync(false);
    NetAdjustWFListAction.getUserInfo(function(_sysUser){
      ExtTnmsNetAdjust.userInfo = _sysUser;
    });

    NetAdjustWFListAction.getWmLoginUrl(ExtTnmsNetAdjust.userInfo.userName,
                                     ExtTnmsNetAdjust.userInfo.userPassword,
                                     function(_url){
                                        ExtTnmsNetAdjust.wmLoginUrl = _url;
                                     });
    ExtTnmsNetAdjust.app = function(){
        return {
            mainWindow : new ExtTnmsNetAdjust.MainFrame({
                  welcomextype    : 'ExtTnmsNetAdjust.MyWorkListPanel',
                  navtreextype    : 'ExtTnmsNetAdjust.MainNavigation',
                  menuxtype       : 'ExtTnmsNetAdjust.MainMenu'
            }),

            init : function(){
                var mainview = new Ext.Viewport({
                    layout : 'border',
                    items : [this.mainWindow] //{region : 'north',contentEl : 'logo'},
                });
            }
        };
    }();
    Ext.onReady(ExtTnmsNetAdjust.app.init, ExtTnmsNetAdjust.app);
</script>

<!--<style type="text/css">
.netadjust_header_logo{
	background-image:url(./resource/images/header.gif);
	background-repeat:no-repeat;
	width:816px;
	height:75px;
    padding-left:90px;
}
</style>-->
<html>
<body>
    <!--<div id="logo" class="netadjust_header_logo"></div>-->
    <div id="toolbar"></div>
</body>
</html>
